export default ({ $axios }, inject) => {
    // 上传图片 
    inject('uploadImg', data => $axios.$post(`/article/file/upload`, data))

    // 删除图片
    inject('deleteImg', fileUrl => $axios.$delete(`/article/file/delete`, { params: { fileUrl } }))
}